home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / e / misc.save / 000206_fdc@panix.com_Fri Nov 20 17:06:37 2009.msg < prev    next >
Text File  |  2020-01-01  |  3KB  |  62 lines

  1. Path: reader1.panix.com!panix!not-for-mail
  2. From: Frank da Cruz <fdc@panix.com>
  3. Newsgroups: comp.protocols.kermit.misc
  4. Subject: Re: How does Kermit 95 initialize \v(desktop)
  5. Date: Fri, 13 Nov 2009 19:47:35 +0000 (UTC)
  6. Organization: PANIX Public Access Internet and UNIX, NYC
  7. Lines: 42
  8. Message-ID: <slrnhfrdun.462.fdc@panix1.panix.com>
  9. References: <3e027b96-6700-4194-b611-b11ab121f064@t11g2000prh.googlegroups.com> <7666f050-bc18-4a71-8c33-b920c13bdede@q14g2000vbi.googlegroups.com> <2f030a05-17bd-4fbc-bb15-60d1be4b7e8a@f18g2000prf.googlegroups.com>
  10. Reply-To: fdc@columbia.edu
  11. NNTP-Posting-Host: panix1.panix.com
  12. Mime-Version: 1.0
  13. Content-Type: text/plain; charset=iso-8859-1
  14. Content-Transfer-Encoding: 8bit
  15. X-Trace: reader1.panix.com 1258141655 17894 166.84.1.1 (13 Nov 2009 19:47:35 GMT)
  16. X-Complaints-To: abuse@panix.com
  17. NNTP-Posting-Date: Fri, 13 Nov 2009 19:47:35 +0000 (UTC)
  18. User-Agent: slrn/0.9.8.0 (NetBSD)
  19. Xref: panix comp.protocols.kermit.misc:15821
  20.  
  21. On 2009-10-29, Mark Sapiro <slash_dev_slash_null_2000@yahoo.com> wrote:
  22. : On Oct 27, 6:44∩┐╜am, Jeffrey Altman <jalt...@gmail.com> wrote:
  23. :> Its not magic. ∩┐╜Its C code. Look at the sources and you can see
  24. :> exactly what it does.
  25. :
  26. : I didn't know I had access to any K95 sources. Where might I find
  27. : them?
  28. :
  29. Well, not all the sources, but the modules it has in common with
  30. C-Kermit, which are most of the modules.
  31.  
  32. Likewise, most of the code in these modules (ck[cuw_]*.[cwh]) is
  33. common code.  K95-specific code is #ifdef'd OS2 or NT.
  34.  
  35. OS2???  K95 begin its life as the OS/2 version of C-Kermit, before
  36. Windows 95 came out.  When Win95 appeared, it shared many of the
  37. OS/2 APIs; thus the #ifdef OS2 sections served, in large part, for
  38. Win-32 as well.  The latest version of K95, 2.1.3, is available
  39. for both Windows and (if you can find it) OS/2.  The OS/2 binary
  40. is separate; compatibily goes only so far.  The Windows binary, on
  41. the other hand, runs on every Windows version from Windows 95
  42. through Windows 7, excluding mini versions of Windows like Pocket
  43. PC and Windows Mobile.
  44.  
  45. To answer your question, the source for GetDesktop(), which
  46. is used to evaluate \v(desktop), is not in the public modules but,
  47. as Jeff says it's a Registry query plus some string-munching.
  48.  
  49. \v(desktop) is one of a group of variables that can be used to
  50. refer to special Windows directories in a uniform way, regardless
  51. of Windows version and language.  These include \v(appdata),
  52. \v(exedir), \v(inidir), \v(startup), \v(tmpdir), \v(common),
  53. \v(download), \v(home), \v(personal), and \v(textdir).
  54.  
  55. Of these, only \v(download) has stopped working in recent Windows
  56. version, as noted in:
  57.  
  58.   http://kermit.columbia.edu/k95faq.html
  59.  
  60. where a workaround is also given.
  61.  
  62. - Frank